// samsting : this file is auto create.

#include "Ecs/2014-05-26/RenewInstanceRequest.h"

namespace aliyun { namespace Ecs {

RenewInstanceRequest::RenewInstanceRequest() : RpcAcsRequest("Ecs", "2014-05-26", "RenewInstance") {
}

int64 RenewInstanceRequest::GetOwnerId(void) const {
  return OwnerId_;
}
void RenewInstanceRequest::SetOwnerId(int64 OwnerId) {
  OwnerId_ = OwnerId;
  PutQueryParameter("OwnerId", string_ValueOfInt64(OwnerId_));
}

const string& RenewInstanceRequest::GetResourceOwnerAccount(void) const {
  return ResourceOwnerAccount_;
}
void RenewInstanceRequest::SetResourceOwnerAccount(const string& ResourceOwnerAccount) {
  ResourceOwnerAccount_ = ResourceOwnerAccount;
  PutQueryParameter("ResourceOwnerAccount", ResourceOwnerAccount_);
}

int64 RenewInstanceRequest::GetResourceOwnerId(void) const {
  return ResourceOwnerId_;
}
void RenewInstanceRequest::SetResourceOwnerId(int64 ResourceOwnerId) {
  ResourceOwnerId_ = ResourceOwnerId;
  PutQueryParameter("ResourceOwnerId", string_ValueOfInt64(ResourceOwnerId_));
}

const string& RenewInstanceRequest::GetOwnerAccount(void) const {
  return OwnerAccount_;
}
void RenewInstanceRequest::SetOwnerAccount(const string& OwnerAccount) {
  OwnerAccount_ = OwnerAccount;
  PutQueryParameter("OwnerAccount", OwnerAccount_);
}

const string& RenewInstanceRequest::GetInstanceId(void) const {
  return InstanceId_;
}
void RenewInstanceRequest::SetInstanceId(const string& InstanceId) {
  InstanceId_ = InstanceId;
  PutQueryParameter("InstanceId", InstanceId_);
}

const string& RenewInstanceRequest::GetInstanceType(void) const {
  return InstanceType_;
}
void RenewInstanceRequest::SetInstanceType(const string& InstanceType) {
  InstanceType_ = InstanceType;
  PutQueryParameter("InstanceType", InstanceType_);
}

int RenewInstanceRequest::GetInternetMaxBandwidthOut(void) const {
  return InternetMaxBandwidthOut_;
}
bool RenewInstanceRequest::SetInternetMaxBandwidthOut(int InternetMaxBandwidthOut) {
  if(InternetMaxBandwidthOut < 0) {
    return false;
  }
  if(InternetMaxBandwidthOut > 200) {
    return false;
  }
  InternetMaxBandwidthOut_ = InternetMaxBandwidthOut;
  PutQueryParameter("InternetMaxBandwidthOut", string_ValueOfInt(InternetMaxBandwidthOut_));
  return true;
}

const string& RenewInstanceRequest::GetInternetChargeType(void) const {
  return InternetChargeType_;
}
void RenewInstanceRequest::SetInternetChargeType(const string& InternetChargeType) {
  InternetChargeType_ = InternetChargeType;
  PutQueryParameter("InternetChargeType", InternetChargeType_);
}

int RenewInstanceRequest::GetPeriod(void) const {
  return Period_;
}
void RenewInstanceRequest::SetPeriod(int Period) {
  Period_ = Period;
  PutQueryParameter("Period", string_ValueOfInt(Period_));
}

const string& RenewInstanceRequest::GetRebootTime(void) const {
  return RebootTime_;
}
void RenewInstanceRequest::SetRebootTime(const string& RebootTime) {
  RebootTime_ = RebootTime;
  PutQueryParameter("RebootTime", RebootTime_);
}

const string& RenewInstanceRequest::GetCovertDiskPortable_1_DiskId(void) const {
  return CovertDiskPortable_1_DiskId_;
}
void RenewInstanceRequest::SetCovertDiskPortable_1_DiskId(const string& CovertDiskPortable_1_DiskId) {
  CovertDiskPortable_1_DiskId_ = CovertDiskPortable_1_DiskId;
  PutQueryParameter("CovertDiskPortable.1.DiskId", CovertDiskPortable_1_DiskId_);
}

const string& RenewInstanceRequest::GetCovertDiskPortable_2_DiskId(void) const {
  return CovertDiskPortable_2_DiskId_;
}
void RenewInstanceRequest::SetCovertDiskPortable_2_DiskId(const string& CovertDiskPortable_2_DiskId) {
  CovertDiskPortable_2_DiskId_ = CovertDiskPortable_2_DiskId;
  PutQueryParameter("CovertDiskPortable.2.DiskId", CovertDiskPortable_2_DiskId_);
}

const string& RenewInstanceRequest::GetCovertDiskPortable_3_DiskId(void) const {
  return CovertDiskPortable_3_DiskId_;
}
void RenewInstanceRequest::SetCovertDiskPortable_3_DiskId(const string& CovertDiskPortable_3_DiskId) {
  CovertDiskPortable_3_DiskId_ = CovertDiskPortable_3_DiskId;
  PutQueryParameter("CovertDiskPortable.3.DiskId", CovertDiskPortable_3_DiskId_);
}

const string& RenewInstanceRequest::GetCovertDiskPortable_4_DiskId(void) const {
  return CovertDiskPortable_4_DiskId_;
}
void RenewInstanceRequest::SetCovertDiskPortable_4_DiskId(const string& CovertDiskPortable_4_DiskId) {
  CovertDiskPortable_4_DiskId_ = CovertDiskPortable_4_DiskId;
  PutQueryParameter("CovertDiskPortable.4.DiskId", CovertDiskPortable_4_DiskId_);
}


} } // namespace aliyun { namespace Ecs {

// end of file 
